package com.zysf.library_boot.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zysf.library_boot.dto.LendDto;
import com.zysf.library_boot.dto.PostsDto;
import com.zysf.library_boot.entity.Posts;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 31161
* @description 针对表【posts】的数据库操作Mapper
* @createDate 2024-12-31 10:34:21
* @Entity com.zysf.library_boot.entity.Posts
*/
@Mapper
public interface PostsMapper extends BaseMapper<Posts> {
    IPage<PostsDto> getCustomPosts(Page<PostsDto> page, @Param("content") String content);
}




